package com.jxtc.enterprise.merchant.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Schema(description = "商铺端用于上架或下架某个菜品的参数")
@Getter
@Setter
@ToString
public class ChangeFoodStatusDTO {
    @Schema(description = "店铺 ID", example = "04d159f9807ec68632e94edd2cfe1949")
    // @NotBlank(message = "店铺 ID 不能为空")
    private String storeId;

    @Schema(description = "商户手机号（用于调试）", example = "15203214578")
    @NotBlank(message = "商户手机号不能为空")
    private String phone;

    @Schema(description = "菜品 ID", example = "04d159f9807ec68632e94edd2cfe1949")
    @NotBlank(message = "菜品 ID 不能为空")
    private String foodId;

    @Schema(description = "上架/下架标志位，默认为 1；其中：1 表示上架，2 表示下架", example = "1", defaultValue = "1")
    private Integer status;
}
